package com.yi.yier.blog.controller.auth;
import com.yi.yier.blog.core.auth.dao.model.Account;
import com.yi.yier.blog.service.auth.AccountService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.yi.yier.boot.autoconfigure.codegenerator.api.base.condition.BaseCondition;
import com.yi.yier.boot.autoconfigure.codegenerator.api.base.interfaces.ICondition;
import com.yi.yier.boot.autoconfigure.codegenerator.api.service.mybatis.BaseMybatisService;
import lombok.extern.slf4j.Slf4j;
import javax.annotation.Resource;
import com.yi.yier.boot.autoconfigure.codegenerator.api.controller.BaseWebController;
import org.springframework.web.bind.annotation.*;
import com.yi.yier.boot.autoconfigure.codegenerator.api.base.response.ResponseJson;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author Yiyuery
 * @version V1.0.0
 * @date 2020/03/05
 * @modificationHistory=========================逻辑或功能性重大变更记录
 * @modify By: {修改人}  2020/03/05
 * @modify reason: {方法名}:{原因}
 * ...
 */
@Slf4j
@RestController
@RequestMapping("/auth/account/")
public class AccountController extends BaseWebController<Account>{

    @Resource
    AccountService accountService;

    @Override
    protected BaseMybatisService getBaseMybatisService() {
        return accountService;
    }
}